package com.cb.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cb.entity.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {

    //分类信息分页查询
    IPage<Category> getCategory(Page<Category> categoryPage);

    //根据id删除分类
    void remove(Long ids);

    //根据条件查询分类数据
    List<Category> getList(Category category);
}